from django.contrib import admin
from django.urls import path
from django.urls import include
from django.conf.urls.static import static
from . import settings

from . import views


urlpatterns = [
    path('admin/', admin.site.urls),
    path('', views.ShowHomePage.as_view(), name='home_page'),
    path('account/', include('account.urls')),
    path('images/', include('images.urls',  namespace='images')),
]


if settings.DEBUG:
    urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
